import { RouteRecordRaw } from 'vue-router'

const treeRoute: Array<RouteRecordRaw> = [
  {
    path: '/tree',
    name: 'TreeCom',
    children: [
      {
        path: 'index',
        name: 'Tree',
        component: () => import('@/views/Tree/index.vue'),
        meta: {
          icon: 'tree',
          isSvg: true,
          title: 'Tree'
        }
      },
      {
        path: 'virTree',
        name: 'virTree',
        component: () => import('@/views/Tree/virTree.vue'),
        meta: {
          icon: 'tree-table',
          isSvg: true,
          title: 'virTree'
        }
      }
    ],
    meta: {
      icon: 'Wallet',
      title: 'Tree'
    }
  }
]

export default treeRoute
